From 8efb9219116a6c665d1059d3218c9405c616e404 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Fri, 7 Jan 2022 16:33:15 +0100
Subject: chore: adjust css grid on listing pages without sidebar

---
 src/pages/thematique/[slug].tsx | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

(limited to 'src/pages/thematique/[slug].tsx')

diff --git a/src/pages/thematique/[slug].tsx b/src/pages/thematique/[slug].tsx
index fb0eda5..72e469c 100644
--- a/src/pages/thematique/[slug].tsx
+++ b/src/pages/thematique/[slug].tsx
@@ -25,16 +25,15 @@ const Thematic: NextPageWithLayout<ThematicProps> = ({ thematic }) => {
   return (
     <article className={styles.wrapper}>
       <PostHeader intro={thematic.intro} title={thematic.title} />
-      <div
-        className={styles.body}
-        dangerouslySetInnerHTML={{ __html: thematic.content }}
-      ></div>
-      {thematic.posts.length > 0 && (
-        <section className={styles.section}>
-          <h2>{t`All posts in ${thematic.title}`}</h2>
-          <ol className={styles.list}>{getPostsList()}</ol>
-        </section>
-      )}
+      <div className={styles.body}>
+        <div dangerouslySetInnerHTML={{ __html: thematic.content }}></div>
+        {thematic.posts.length > 0 && (
+          <section className={styles.section}>
+            <h2>{t`All posts in ${thematic.title}`}</h2>
+            <ol className={styles.list}>{getPostsList()}</ol>
+          </section>
+        )}
+      </div>
     </article>
   );
 };
-- 
cgit v1.2.3

